Skip to content

error method POST must have request body but i already added the body #125

@tanz98

Description

@tanz98

hello i was try fetch ssl certification with implement like this :

			let body = {
				client_data: {
					email: encrypt(this.state.email),
					password: encrypt(this.state.password),
				},
			}
			fetch(Config.API_URL+'/api/login', {
				method: "POST" ,
				timeoutInterval: 35000,
				body: body,
				sslPinning: {
					certs: ["test.com"]
				},
				headers: {
					Authorization: Config.TOKEN,
				}
			})

but i have error POST mush have request body, is my implement wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions