Jump to Content
LocomotiveCMSGuidesDiscussionSupport us!v2

GuidesDiscussionSupport us!v2Log InLocomotiveCMS
Discussions
Log In
All
Pages
Start typing to search…

Discussions

Ask a Question

callAPI action: send integer types?

Struggling with an API call atm: Is it possible that the callAPI action converts all numbers into floats when converting the data object to JSON, no matter what? Does anyone know how to work around this behavior? If I could prevent the automatic JSON conversion of the data object and do the conversion myself, that would be helpful.
This is causing issues with an API endpoint expecting integers to the point where I'm not able to use the API.

callapijson
6 years ago by Tobias Geisler
  • Recent
  • Unanswered
301301_redirectactionsapiassetsback officebelongs_toblockscallapicanconical urlcartchildrenclonecoalconfigcontent_assetscontent_entrycontent_typecontent_type_templatecontent_typesdatedeletedeploydocumentationdownloaddropsecommerceeditable_elementeditorenginefile structurefolder structurefoldersga4gallerygemgoogle_analyticshandlehostinghtmlhtml_attributesidintegrationjsonlayoutslinklink_toliquidlistedmany_to_manymetafieldsnavnestingnilnilclassofflineopen graphorder_bypagepagespaginationpath_topdfpublic_submissionpublishreadmerubyschedulesectionsselectsite_metricssitemapsolidusspamsteamsynctext_formattingtheme_assetsto_symurlurl_redirectwagonwith_scopewysiwygyaml
Discussions

Discussions are Available on the Startup Plan.

A community forum for your users.

Upgrade