Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted September 28, 20195 yr Hey, I'm having an issue exercising the PUT RSVP functionality of the REST API. For some reason the Key isn't picked up on PUT requests. It works fine for POST, DELETE, and GET requests. Any ideas what the issue might be? See below POSTMAN screenshot.
September 28, 20195 yr Author I stepped around the issue by editing events.php and duplicating the PUT method to a POST method... workaround for now but not the best 🙂
September 28, 20195 yr Is there some reason you are sending the key as a query string parameter instead of in an HTTP header, as recommended?
September 28, 20195 yr Author 3 minutes ago, bfarber said: Is there some reason you are sending the key as a query string parameter instead of in an HTTP header, as recommended? Postman simplicity. It's secured to a particular IP. I swapped it to a header and had the same issue still though. Haven't tested it via OAuth yet.
September 30, 20195 yr I suppose feel free to submit a ticket - the only way that exception code (2S290/6) would show up is if no access token and no API key were detected in the request. Perhaps for some reason your server isn't passing through all of the request data for a PUT method request or something along those lines, but we'd need to take a look at your site to determine that.
Archived
This topic is now archived and is closed to further replies.