Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options questions only not deleted user 953

Extensible Markup Language (XML) is a structured document format that defines human- and machine-readable encoding rules.

2 votes
1 answer
6k views

REST API Request using text/xml returns UNSUPPORTED_MEDIA_TYPE

The documentation tells us that XML, however un-hip, can be used as a request format. The reality seems to be only HTTP 415 errors with UNSUPPORTED_MEDIA_TYPE. … xml version="1.0" encoding="UTF-8"? …
Marc's user avatar
  • 1,745
4 votes
1 answer
1k views

Calling custom apex as REST with XML results

So you want to call your Apex classes from outside salesforce via RESTful HTTP and need XML resurned even though it's uncool. … If you use Accept: text/xml without the tricks described below you will not get XML. …
Marc's user avatar
  • 1,745