comparison doc/rest.txt @ 6384:66a061e52435

Test options in rest interface against live server; rest doc update Add OPTIONS verb routing for /rest and /rest/data Document that there must not be a content-type header for OPTIONS or GET. Set TRACKER_WEB option in config.in to match where the server is running. Add testing for OPTIONS verb against all rest endpoint types.
author John Rouillard <rouilj@ieee.org>
date Wed, 21 Apr 2021 00:48:28 -0400
parents 3dcbe44eb1cd
children 22cf6ee7ad88
comparison
equal deleted inserted replaced
6383:e9760702bf0c 6384:66a061e52435
188 described above. 188 described above.
189 189
190 Input Formats 190 Input Formats
191 ============= 191 =============
192 192
193 Content-Type is allowed to be ``application/json`` or 193 For a GET or OPTIONS request, the Content-Type header should
194 not be sent.
195
196 Otherwise Content-Type is allowed to be ``application/json`` or
194 ``application/x-www-form-urlencoded``. Any other value returns error 197 ``application/x-www-form-urlencoded``. Any other value returns error
195 code 415. 198 code 415.
196 199
197 Response Formats 200 Response Formats
198 ================ 201 ================

Roundup Issue Tracker: http://roundup-tracker.org/