]>
Commit | Line | Data |
---|---|---|
c55e3d72 | 1 | import { doRequest } from '@server/helpers/requests' |
df66d815 | 2 | |
06aad801 | 3 | export function makePOSTAPRequest (url: string, body: any, httpSignature: any, headers: any) { |
df66d815 | 4 | const options = { |
db4b15f2 | 5 | method: 'POST' as 'POST', |
df66d815 C |
6 | json: body, |
7 | httpSignature, | |
8 | headers | |
9 | } | |
10 | ||
db4b15f2 | 11 | return doRequest(url, options) |
df66d815 | 12 | } |