Postman settings for Jomres v10.4

There's a new release of Jomres, v10.4. It's mainly a maintenence release, but a new bit of code is for preventing Bots and crawlers from filling up the sessions table. We don't mind bots visiting the site, but the session records that are automatically created for them so that their booking and search preferences are saved is a total waste of storage so it's nice to get rid of them.

 

This is great, however the library that Jomres is using thinks that Postman is a crawler. It's probably right, in most cases, however this means that if you're using Postman to access the API, particularly the new Booking API endpoints, you'll find that the API will respond that the Property id hasn't been saved, even if you've hit the initialisation endpoint correctly.

If that happens, in your Postman collection for the Booking API create a pre-request script like the following line. That'll fix the problem for you.

pm.request.headers.add({key: 'User-Agent', value: 'Jomres Booking Form'});
 
  • Created on .

ABOUT US

vince picDeveloped and maintained by Vince Wooll, Jomres was initially conceived in early 2005 as a Mambo based solution to a client’s hotel management needs. While it wasn't originally expected to be an online booking system it quickly morphed into one as users requested more and more features.

As the number of feature requests grew Vince knew that he would need to dedicate more time to the project and in July 2005 Jomres was formally released as a commercial project. Since then, Jomres has become one of Mambo’s, and now Joomla’s, longest running projects. It has survived various versions of Mambo, then Joomla 1.0, 1.5, 1.6, 1.7, 2.5 and 3.

Aladar joined the project in 2010 after using Jomres for his own projects. He was active on the forum, helping other members of the community and eventually Vince invited him to join the team. Between 2010 and 2018 he was an integral part of the project and made many significant contributions.

Whilst not formally part of the Jomres project, Rodrigo Rocco and Vince have become firm friends. Rod is a freelancer who specialises in doing custom work for Jomres users and developing custom plugins for the system that take advantage of it's modular design. He has built many useful extensions including his fabulous Valentina Template Override Package.

Jomres and the Jomres Logo is trademarked and can't be used without written consent from the owner.

www.jomres.net is not affiliated with or endorsed by the Joomla! Project, Open Source Matters or the WordPress project. The Joomla! & WordPress names and logos are used under a limited license granted by Open Source Matters and the WordPress Projects.

© Copyright 2005 - 2022 Vince Wooll