So the response will have the correct status even with an invalid value for name as long as the id is valid. When both the name and id parameters are used, the name parameter is ignored.This should instead result in a 404, or at least a 400. A request that does not use any parameters results in a 200 status code.When the name and id parameter values do not match a transformation, the status code is 500 instead of 404.The following combinations result in a 500 status code:.id, xml=Y, and from (xml=N does not work with this combination).id and xml=Y (xml=N does not work with this combination).The following combinations result in a 200 status code:. The behavior is sometimes different from what is documented, and the behavior is different from the transImage endpoint where the results show that name OR id can be used. The documentation indicates that the id, xml and from parameters are optional, implying that the nameparameter is required.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |