Comments (2)
If your server can accept body in format of foo1=bar1&foo2=bar2
, you could send through param of POST, ie.
Fuel.post(url, listOf("foo1" to "bar1", "foo2" to "bar2")
Otherwise, you will need a JSON serializer to convert your HashMap
into String
, notable libraries are GSON, Jackson.
from fuel.
closing this as you can use those two options:
listOf("foo1" to "bar1", "foo2" to "bar2")
or if you receive map:
map.toList()
from fuel.
Related Issues (20)
- Body: null when using .jsonBody to POST
- fuel-kotlinx-serialization mentions awaitResponseObject in docs
- kotlinx-serialization with List<T> throws HOT 1
- Sending HTTP Request via Proxy Server HOT 1
- Publish to maven central instead of JitPack HOT 6
- FuelManager is not available in 3.0.0 HOT 1
- No Option for headers in Fuel.Get for 3.X.X HOT 3
- Make it easier to mock Fuel behavior in v3 HOT 1
- Version number is wrong in Readme.md HOT 1
- Fuel download and upload missing on 3.0 [Question] HOT 2
- Web Assembly (wasm) Target
- Identify the test coverages area HOT 2
- How to addInterceptor Like Okhttp ? HOT 1
- simple GET request fails with IllegalAccessError OkHttp3 HOT 10
- Unable to install from repositories. HOT 3
- Make `TE` Header optional HOT 1
- Fuel(v2) has a vulnerability that allows tampering with other fields and tampering with files. HOT 2
- Basic auth with fuel 3 HOT 2
- Error: The inputs have already been written to an output stream and can not be consumed again. HOT 1
- where are docs for 3.x.y? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fuel.