Jump to content
View in the app

A better way to browse. Learn more.

Froxlor Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Hey, 

as this cost me more time than it should, i wanna share a non-php API client example as a postman collection.

I am totally not sure why php is such a mess in using real headers ...

froxlor.postman_collection.json

{
	"info": {
		"_postman_id": "1412c04b-e0ed-4252-9df8-b560d725b9a6",
		"name": "froxlor",
		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
	},
	"item": [
		{
			"name": "Froxlor",
			"item": [
				{
					"name": "listFunctions",
					"protocolProfileBehavior": {
						"strictSSL": false,
						"followOriginalHttpMethod": false,
						"followAuthorizationHeader": false,
						"followRedirects": false,
						"disabledSystemHeaders": {}
					},
					"request": {
						"auth": {
							"type": "noauth"
						},
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"header\": {\n        \"apikey\": \"{{apikey}}\",\n        \"secret\": \"{{secret}}\"\n       \n    },\n    \"body\": {\n        \"command\": \"Froxlor.listFunctions\",\n        \"params\":[]\n    }\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "https://{{domain}}/api.php",
							"protocol": "https",
							"host": [
								"{{domain}}"
							],
							"path": [
								"api.php"
							]
						}
					},
					"response": []
				}
			]
		}
	],
	"event": [
		{
			"listen": "prerequest",
			"script": {
				"type": "text/javascript",
				"exec": [
					""
				]
			}
		},
		{
			"listen": "test",
			"script": {
				"type": "text/javascript",
				"exec": [
					""
				]
			}
		}
	],
	"variable": [
		{
			"key": "apikey",
			"value": ""
		},
		{
			"key": "secret",
			"value": ""
		},
		{
			"key": "domain",
			"value": ""
		}
	]
}

 

15 minutes ago, jrel said:

I am totally not sure why php is such a mess in using real headers ...

real headers are not required for froxlor api...it's all in the request itself

  • Author
vor 16 Minuten schrieb d00p:

real headers are not required for froxlor api...it's all in the request itself

now I know :)

maybe this helps some others

  • 1 year later...

Thank you jrel, this helped me a lot!

It would be nice if the documentation would contain an example like yours.

Create an account or sign in to comment

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.