|
https://github.com/Krutonium/libPantryDotNet The issue is that I can't seem to get any data it sends to work. My programs output is as follows (With commentary from me) I cannot figure out why it's not getting the JSON. Any thoughts? |
Replies: 1 comment
|
@Krutonium Awesome work, I'd love to include your library here one day once you're done! While I'm not too familiar with I have a hunch that the I'm not 100% sure if that's the fix but I hope that helps? Here's a snippet ( |
@Krutonium Awesome work, I'd love to include your library here one day once you're done!
While I'm not too familiar with
.NETa few things did stick out when I was looking at the request logic.I have a hunch that the
POSTrequest (used to create a new basket) needs to have aContent-Typeheader added to it for things to work as intended. Also, thecontentitself may need to be parsed a certain way?I'm not 100% sure if that's the fix but I hope that helps?
Here's a snippet (
C#) that creates a basket and logs the response