API
For the following attachment, in line 92, we tried to obtain HttpStatusCode. However, the output is shown as MethodNotAllowed. Is there any possible solution for this scenario?
p.s. our code is written in C#.
Regrads,
F.L

- Se connecter pour poster des commentaires

Dear Ivaylo Tsvetkov,
Thank you for the reply!
In line 88, the code did use Post.
The following is the only response we got from the API.
This API used to work fine. The only difference was that we have a different clientID, Secret, and a new base URL.
Will the server location(sg or tw) make any difference?
Regards,
F.L.
- Se connecter pour poster des commentaires

Hello Freddy Lin,
Thank you, I see the method now, POST is correct one.
Yes, server location or DC matters, you can't use an API Client created in SG into TW and the opposite. You should dedicate separate Clients for each location and make sure you send the call to the respective URL.
Though, I still don't think a "Method Not Allowed" will thrown if URL or Client is wrong.
If still failing, please share the complete request/response pulled out from your integration's logs.
Thank you!
- Se connecter pour poster des commentaires