]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame_incremental - server/tests/shared/requests.ts
Bumped to version v5.2.1
[github/Chocobozzz/PeerTube.git] / server / tests / shared / requests.ts
... / ...
CommitLineData
1import { doRequest } from '@server/helpers/requests'
2
3export function makePOSTAPRequest (url: string, body: any, httpSignature: any, headers: any) {
4 const options = {
5 method: 'POST' as 'POST',
6 json: body,
7 httpSignature,
8 headers
9 }
10
11 return doRequest(url, options)
12}