Changed output for github pages.
This commit is contained in:
parent
ae47d44272
commit
dcde83949b
38 changed files with 517 additions and 1 deletions
21
docs/net.thauvin.erik.bitly/-utils/call.md
Normal file
21
docs/net.thauvin.erik.bitly/-utils/call.md
Normal file
|
@ -0,0 +1,21 @@
|
|||
[docs](../../index.md) / [net.thauvin.erik.bitly](../index.md) / [Utils](index.md) / [call](./call.md)
|
||||
|
||||
# call
|
||||
|
||||
`@JvmOverloads fun call(accessToken: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`, endPoint: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`, params: `[`Map`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html)`<`[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`, `[`Any`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)`> = emptyMap(), method: `[`Methods`](../-methods/index.md)` = Methods.POST): `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) [(source)](https://github.com/ethauvin/bitly-shorten/tree/master/src/main/kotlin/net/thauvin/erik/bitly/Utils.kt#L65)
|
||||
|
||||
Executes an API call.
|
||||
|
||||
### Parameters
|
||||
|
||||
`accessToken` - The API access token.
|
||||
|
||||
`endPoint` - The REST endpoint. (eg. `https://api-ssl.bitly.com/v4/shorten`)
|
||||
|
||||
`params` - The request parameters kev/value map.
|
||||
|
||||
`method` - The submission [Method](../-methods/index.md).
|
||||
|
||||
**Return**
|
||||
The response (JSON) from the API.
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue