Bugzilla:API Comparison: Difference between revisions

Jump to navigation Jump to search
No edit summary
Line 355: Line 355:
===Error handling===
===Error handling===


The REST API returns various different flavours of error depending on the underlying implementation, whereas the RPC API simply returns an error code and description.
The REST API returns various different flavors of error depending on the underlying implementation, whereas the RPC API simply returns an error code and description.
 
REST also makes use of http status codes to designate types of errors as well. RPC normally returns the same status code even in an error condition and the client checks the payload to see if an error occurred.


==Scratchpad==
==Scratchpad==


* Need to check if there are differences in include_fields/exclude_fields handling -- see {{bug|540818}}
* Need to check if there are differences in include_fields/exclude_fields handling -- see {{bug|540818}}
Confirmed users
241

edits

Navigation menu