For some reason they want the underscore for Ruby on Rails
- Code: Select all
https://api.jiwa.com.au/Inventory/00000000040000000002?apikey=9vjoF4M5-gYVBWjoFyW9nlQieB9FhxpJkAsRJznB_Ok&jsconfig=EmitLowercaseUnderscoreNames:true
https://api.jiwa.com.au/Inventory/00000000040000000002?apikey=9vjoF4M5-gYVBWjoFyW9nlQieB9FhxpJkAsRJznB_Ok&jsconfig=EmitLowercaseUnderscoreNames:true

ServiceStack.Text.JsConfig.EmitLowercaseUnderscoreNames= true;

SBarnes wrote:Thanks, Mike yes, I was aware of that, but I was trying to avoid setting it that way as the client has multiple integrations against the same api where in some cases they need the underscore and in others not, hence the trying to use the query string to do it.

Users browsing this forum: No registered users and 5 guests