REST API item put fails with 405 Method Not Allowed

  • ansichtskartenpool

    35 messages

    Allemagne

    As it is mentioned in your API description and part of REST the PUT functionality should be integrated and allowed.
    I just recognized it's not in your API. :question:
    What's your opinion?

    regards
    Karsten
  • @kevin
    Administrateur

    102 messages

    Belgique

    Hi Karsten,

    Yes, the API allows the PUT method : Lien (https)
    Could you please send me the data you send and the url you call (or an example of php code you use).
    And the error message you get.

    Do you use the token of your account "ansichtskartenpool" or an other one ?
  • ansichtskartenpool

    35 messages

    Allemagne

    Hi Kevin,

    1. we don't use PHP but ruby, that's only by the way
    2. we use a REST client and every other call via the REST-API works. Only when switching to PUT, a 405 status is displayed as feedback.

    anyways thx ... i was a fool, if you do it right ... it works

    this topic can be closed

    reagrds Karsten

Rejoignez la communauté des collectionneurs !

S'inscrire Se connecter